/*
 * @Author: June
 * @Date: 2022-11-17 16:31:20
 * @LastEditors: June
 * @LastEditTime: 2022-11-17 16:33:25
 * @Description: 销售管理路由
 *
 */

import Layout from '@/layout'

export const salesManagement = {
  path: '/sale',
  component: Layout,
  redirect: '/sale/purchaseRequisitionList',
  alwaysShow: true,
  meta: {
    title: '销售管理', icon: 'icon-xiaoshouguanli'
  },
  children: [
    {
      path: 'salesOrder',
      name: 'SalesOrder',
      component: () => import('@/views/salesManagement/salesOrder'),
      meta: { title: '销售订单', icon: 'icon-xiaoshoudingdan' }
    },
    {
      path: 'salesIssue',
      name: 'SalesIssue',
      component: () => import('@/views/salesManagement/salesIssue'),
      meta: { title: '销售配货', icon: 'icon-xiaoshouchuku' }
    },
    {
      path: 'salesInvoice',
      name: 'SalesInvoice',
      component: () => import('@/views/salesManagement/salesInvoice'),
      meta: { title: '销售发票', icon: 'icon-fapiao' }
    },
    {
      path: 'collectionInfoy',
      name: 'CollectionInfoy',
      component: () => import('@/views/salesManagement/collectionInfoy'),
      meta: { title: '收款信息', icon: 'icon-shoukuan' }
    },
    {
      path: 'salesStatistics',
      name: 'SalesStatistics',
      component: () => import('@/views/salesManagement/salesStatistics'),
      meta: { title: '销售统计', icon: 'icon-cuoqingdengji' }
    }
  ]
}
